package com.ruoyi.alipay.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
* @author			By--Mr.Liuyusong
* @time			 	2021-06-25 9:15
* @QQ				2312949906
* @Return * @return: null
* @Description
**/
@Controller
public class ThymeleafController {
    @RequestMapping("/hello")
    public String hello(Model model){
        return "index";
    }

    @RequestMapping("/success.html")
    public String success(Model model){
        model.addAttribute("name", "刘雨松");
        return "success";
    }
}
